'use strict';

module.exports = appInfo => {
  const config = exports = {};

  // use for cookie sign key, should change to your own and keep security
  config.keys = appInfo.name + '_1548160319425_5813';

  // add your config here
  config.middleware = [];


  config.bodyParser = {
      jsonLimit: '10mb',
      formLimit: '10mb',
  };

    config.sequelize = {
        dialect: 'mysql',
        host: '192.168.56.1',
        port: 3306,
        database: 'test_manage',
        username: 'test',
        password: 'test',
        timezone: '+08:00',
        logging:true
    };

  return config;
};
